package com.ruoyi.Newstudent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新生信息对象 newstudent
 * 
 * @author yjh
 * @date 2024-08-26
 */
public class Newstudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private Long id;

    /** 年级 */
    @Excel(name = "年级")
    private String garde;

    /** 新生姓名 */
    @Excel(name = "新生姓名")
    private String name;

    /** 新生专业/班级 */
    @Excel(name = "新生专业/班级")
    private String specialty;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 学号 */
    @Excel(name = "学号")
    private String number;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGarde(String garde) 
    {
        this.garde = garde;
    }

    public String getGarde() 
    {
        return garde;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("garde", getGarde())
            .append("name", getName())
            .append("specialty", getSpecialty())
            .append("sex", getSex())
            .append("number", getNumber())
            .append("phone", getPhone())
            .toString();
    }
}
